package top.tangyh.lamp.care.service.impl;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import top.tangyh.lamp.care.mapper.BHl7RyDetailMapper;
import top.tangyh.lamp.care.service.BHl7RyDetailService;
import top.tangyh.basic.base.service.impl.SuperServiceImpl;
import top.tangyh.lamp.care.manager.BHl7RyDetailManager;
import top.tangyh.lamp.care.entity.BHl7RyDetail;
import top.tangyh.lamp.care.vo.save.BHl7RyDetailSaveVO;
import top.tangyh.lamp.care.vo.update.BHl7RyDetailUpdateVO;
import top.tangyh.lamp.care.vo.result.BHl7RyDetailResultVO;
import top.tangyh.lamp.care.vo.query.BHl7RyDetailPageQuery;

/**
 * <p>
 * 业务实现类
 * Hl7病人入院明细表
 * </p>
 *
 * @author zqb
 * @date 2024-07-15 14:34:11
 * @create [2024-07-15 14:34:11] [zqb] [代码生成器生成]
 */
@Slf4j
@RequiredArgsConstructor
@Service
@Transactional(readOnly = true)
public class BHl7RyDetailServiceImpl extends SuperServiceImpl<BHl7RyDetailManager, Long, BHl7RyDetail> implements BHl7RyDetailService {


    private  final BHl7RyDetailMapper bHl7RyDetailMapper;
    @Override
    public BHl7RyDetail selectLastRk(String hospitalNumber) {
        return bHl7RyDetailMapper.selectOneByHospitalNumber(hospitalNumber);
    }
}


